export const customStyle = {
    grid: {
        show: true,
        horizontal: {
            show: true,
            size: 1,
            color: "rgba(255,255,255,0.03)",
            style: "solid",
            dashedValue: [2, 2]
        },
        vertical: {
            show: true,
            size: 1,
            color: "rgba(255,255,255,0.03)",
            style: "solid",
            dashedValue: [2, 2]
        }
    },
    candle: {
        type: "area", // ohlc candle_solid area
        area: {
            lineSize: 2,
            lineColor: "#FCC235",
            backgroundColor: [
                {
                    offset: 0,
                    color: "rgba(252, 194, 53, 0.01)"
                },
                {
                    offset: 1,
                    color: "rgba(252, 194, 53, 0.2)"
                }
            ]
        },
        priceMark: {
            show: true,
            last: {
                show: true,
                // upColor: "#ff0000",
                // downColor: "#00ff00",
                upColor: "#2DC08E",
                downColor: "#F92855",
                noChangeColor: "#666666",
                line: {
                    show: true,
                    // 'solid' | 'dashed'
                    style: "dashed",
                    dashedValue: [2, 2],
                    size: 1
                },
                text: {
                    show: true,
                    family: "Consolas",
                    color: "#ffffff"
                }
            }
        }
    },
    xAxis: {
        show: true,
        size: "auto",
        axisLine: {
            show: true,
            color: "#2E3345",
            size: 1,
            axisLine: {
                color: "#2E3345"
            }
        },
        tickLine: {
            color: "#2E3345"
        },
        tickText: {
            color: "#B1B6C6",
            family: "Consolas"
        }
    },
    yAxis: {
        show: true,
        size: "auto",
        axisLine: {
            show: true,
            color: "#2E3345",
            size: 1,
            axisLine: {
                color: "#2E3345"
            }
        },
        tickLine: {
            color: "#2E3345"
        },
        tickText: {
            color: "#B1B6C6",
            family: "Consolas"
        }
    },
    crosshair: {
        horizontal: {
            text: {
                color: "#FFFFFF",
                family: "Consolas",
                backgroundColor: "#F6475D"
            },
            line: {
                show: true,
                // 'solid'|'dashed'
                style: "dashed",
                dashedValue: [2, 2],
                size: 1,
                color: "#999"
            }
        },
        vertical: {
            text: {
                color: "#FFFFFF",
                family: "Consolas",
                backgroundColor: "#F6475D"
            },
            line: {
                show: true,
                // 'solid'|'dashed'
                style: "dashed",
                dashedValue: [2, 2],
                size: 1,
                color: "#999"
            }
        }
    },
    separator: {
        size: 1,
        color: "#2E3345"
    }
};
